how to convert from hexadecimal to binary in c#

122

how to convert from hexadecimal to binary in c# -

private string hex2binary(string hexvalue){  string binaryval = "";  binaryval = Convert.ToString(Convert.ToInt32(hexvalue, 16), 2);  return binaryval;}

Comments

Submit
0 Comments